package com.foruo.code.entity;

import java.util.List;

/**
 * 表对象
 * @author GaoYuan
 * @datetime 2018/3/19 上午11:04
 */
public class TableModel extends JavaModel {
    /**表名*/
    public String tableName;
    /**描述*/
    public String tableDesc;
    /** 列集合 */
    public List<ColumnModel> columns;

    public List<ColumnModel> getColumns() {
        return columns;
    }

    public void setColumns(List<ColumnModel> columns) {
        this.columns = columns;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableDesc() {
        return tableDesc;
    }

    public void setTableDesc(String tableDesc) {
        this.tableDesc = tableDesc;
    }

    @Override
    public String toString() {
        return "TableModel{" +
                "tableName='" + tableName + '\'' +
                ", tableDesc='" + tableDesc + '\'' +
                ", columns=" + columns +
                '}';
    }
}
